<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
    <style></style>
  </head>
  <body>
    <div>
      <h1>Webpack自动清除输出目录插件</h1>
      <p>clean-webpack-plugin</p>
      <p>在webpack.config.js中添加一个plugins属性</p>
      <p>const { CleanWebpackPlugin} = require('clean-webpack-plugin')</p>
      <p>使用方法plugins:[new CleanWebpackPlugin()]</p>
    </div>
    <script></script>
  </body>
</html>
